package com.jiajia.study.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author zjj
 * @since 2024-04-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("users")
@ApiModel(value="Users对象", description="用户表")
public class Users implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @ApiModelProperty(value = "手机号")
    private String mobile;

    @ApiModelProperty(value = "昵称")
    private String nickname;

    @ApiModelProperty(value = "真实姓名")
    private String realName;

    @ApiModelProperty(value = "对外展示名，1：真实姓名，2：昵称")
    private Integer showWhichName;

    @ApiModelProperty(value = "性别，1:男 0:女 2:保密")
    private Integer sex;

    @ApiModelProperty(value = "用户头像")
    private String face;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "生日")
    private LocalDate birthday;

    @ApiModelProperty(value = "国家")
    private String country;

    @ApiModelProperty(value = "省份")
    private String province;

    @ApiModelProperty(value = "城市")
    private String city;

    @ApiModelProperty(value = "区县")
    private String district;

    @ApiModelProperty(value = "介绍")
    private String description;

    @ApiModelProperty(value = "我参加工作的时间")
    private LocalDate startWorkDate;

    @ApiModelProperty(value = "我当前职位/职务")
    private String position;

    @ApiModelProperty(value = "身份角色，1: 求职者，2: 求职者可以切换为HR进行招聘，同时拥有两个身份")
    private Integer role;

    @ApiModelProperty(value = "成为HR后，认证的（绑定的）公司主键id")
    private String hrInWhichCompanyId;

    @ApiModelProperty(value = "我的一句话签名")
    private String hrSignature;

    @ApiModelProperty(value = "我的个性化标签")
    private String hrTags;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedTime;


}
